<?php

namespace App\Listeners;

use App\Events\BuyPhone;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;

class UserBindPhone
{

    /**
     * Handle the event.
     *
     * @param  BuyPhone  $event
     * @return void
     */
    public function handle(BuyPhone $event)
    {
        $event->buyNumber();
    }
}
